<?
//$this->headScript()->appendFile($this->baseUrl() . '/js/sailorbase/location/showLocation.js');
//echo $this->headScript($this->escape($this->entry['lat']), $this->escape($this->entry['lng']));
 ?>
 
 <?php 
$this->headScript()->appendFile($this->baseUrl() . '/js/sailorbase/location_all/showLocation.js');
?>

<?php $this->headScript()->captureStart() ?>

function initialize(){
	locationmap(<?php echo $this->escape($this->entry['lat']);?>, <?php echo $this->escape($this->entry['lng']);?>, "<?php echo $this->escape($this->entry['name']);?>");
}
<?php $this->headScript()->captureEnd() ?>


<?
//$this->headScript()->appendFile($this->baseUrl() . '/js/sailorbase/location/showLocation.js');
//echo $this->headScript($this->escape($this->entry['lat']), $this->escape($this->entry['lng']));
 ?>

<?php 
$this->title = "Haefenuebersicht";
$this->headTitle($this->title);
?>



<h1>Hafen <?php echo $this->escape($this->entry['name']);?> <a href="/sailorbase-a/sailorbase-a/public/hafen/actedit-hafen/locationid/<?php echo $this->escape($this->entry['id']);?>">Edit</a></h1>


<div class="Uebersicht">
<table>
		<tr>
			<td>
				Name:
			</td>
			<td>
				<?php echo $this->escape($this->entry['name']);?>
			</td>
		</tr>

		<tr>
			<td>
				Land: 
			</td>
			<td>
				<?php echo $this->escape($this->entry['land']);?>
			</td>
		</tr>

		<tr>
			<td>
				Revier:
			</td>
			<td>
				<?php echo $this->escape($this->entry['revier']);?>
			</td>
		</tr>
		
		<tr>
			<td>
				Stadt:
			</td>
			<td>
				<?php echo $this->escape($this->entry['stadt']);?>
			</td>
		</tr>

		<tr>
			<td>
				Tiefe:
			</td>
			<td>
				<?php echo $this->escape($this->entry['tiefe']);?>
			</td>
		</tr>

		<tr>
			<td>
				Ankerplaetze:
			</td>
			<td>
				<?php echo $this->escape($this->entry['ankerplaetze']);?>
			</td>
		</tr>

		<tr>
			<td>
				Typ:
			</td>
			<td>
				<?php echo $this->escape($this->entry['typ']);?>
			</td>
		</tr>

		<tr>
			<td>
				Latitude:
			</td>
			<td>
				<?php echo $this->escape($this->entry['lat']);?>
			</td>
		</tr>

		<tr>
			<td>
				Longitude:
			</td>
			<td>
				<?php echo $this->escape($this->entry['lng']);?>
			</td>
		</tr>

		<tr>
			<td>
				Tankstelle:
			</td>
			<td>
				<?php if($this->entry['tankstelle']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>

		<tr>
			<td>
				Parken:
			</td>
			<td>
				<?php if($this->entry['parken']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>

		<tr>
			<td>
				Wasser:
			</td>
			<td>
				<?php if($this->entry['wasser']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>

		<tr>
			<td>
				Strom:
			</td>
			<td>
				<?php if($this->entry['strom']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Toilette:
			</td>
			<td>
				<?php if($this->entry['toilette']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Dusche:
			</td>
			<td>
				<?php if($this->entry['dusche']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Reperatur:
			</td>
			<td>
				<?php if($this->entry['reperatur']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Kran:
			</td>
			<td>
				<?php if($this->entry['kran']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Slipping:
			</td>
			<td>
				<?php if($this->entry['slipping']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Supermarkt:
			</td>
			<td>
				<?php if($this->entry['supermarkt']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Waescherei:
			</td>
			<td>
				<?php if($this->entry['waescherei']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Travel Lift:
			</td>
			<td>
				<?php if($this->entry['travelLift']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				WLAN:
			</td>
			<td>
				<?php if($this->entry['wlan']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
		
		<tr>
			<td>
				Weblink:
			</td>
			<td>
				<?php if($this->entry['weblink']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
	<!--  
		<tr>
			<td>
				Profilbild:
			</td>
			<td>
				<?php ?>
			</td>
		</tr>
		
		<tr>
			<td>
				Premium:
			</td>
			<td>
				<?php // if($this->entry['premium']){echo "Ja";}else{echo "Nein";}?>
			</td>
		</tr>
	-->
</table>
</div>


